package com.haircut.project.vo.salary;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.modular.result.PageParams;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Setter
@Getter
public class ApiSalaryReqVo extends PageParams {

    /**
     * 开始时间
     */
    @ApiModelProperty("开始时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss", timezone = "America/Los_Angeles")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date statTime;
    /**
     * 结束时间
     */
    @ApiModelProperty("结束时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss", timezone = "America/Los_Angeles")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    /**
     * 当钱登录用id
     */
    @ApiModelProperty(value = "用户id",hidden = true)
    private String userId;
    /**
     * 工资类型
     */
    private Integer salaryType;
}
